| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 19 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | /**  | 
            ||
| 9 |     describe('Calling #Confirm', function () { | 
            ||
| 10 |         it('"$dialog.confirm()" Should return a promise', function () { | 
            ||
| 11 |             const Vue = require('vue').default | 
            ||
| 12 | Vue.use(Plugin)  | 
            ||
| 13 | |||
| 14 |             let vm = new Vue({ | 
            ||
| 15 |                 methods: { | 
            ||
| 16 |                     check(){ | 
            ||
| 17 | assert.typeOf(this.$dialog.confirm(), 'promise')  | 
            ||
| 18 | }  | 
            ||
| 19 | },  | 
            ||
| 20 |                 render(h){ | 
            ||
| 21 |                     return h('p', {id: 'test'}, 'test') | 
            ||
| 22 | }  | 
            ||
| 23 | }).$mount()  | 
            ||
| 24 | |||
| 25 | vm.check()  | 
            ||
| 26 | })  | 
            ||
| 27 | })  | 
            ||
| 28 | })  | 
            
This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.
To learn more about declaring variables in Javascript, see the MDN.